package com.liming.model;

public class Orders {
	
	private int userid;				//用户id
	private int goodsid;			//商品id
	private int goodsnum;			//订单数量
	private String useraddress;		//订单地址
	private String creattime;		//订单时间
	private String ordernum;		//订单号 UUID
	private int orderstate;		//订单状态
	
	
	public int getOrderstate() {
		return orderstate;
	}
	public void setOrderstate(int orderstate) {
		this.orderstate = orderstate;
	}
	public String getOrdernum() {
		return ordernum;
	}
	public void setOrdernum(String ordernum) {
		this.ordernum = ordernum;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getGoodsid() {
		return goodsid;
	}
	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}
	public int getGoodsnum() {
		return goodsnum;
	}
	public void setGoodsnum(int goodsnum) {
		this.goodsnum = goodsnum;
	}
	public String getUseraddress() {
		return useraddress;
	}
	public void setUseraddress(String useraddress) {
		this.useraddress = useraddress;
	}
	
	
	public String getCreattime() {
		return creattime;
	}
	public void setCreattime(String creattime) {
		this.creattime = creattime;
	}
	public Orders(int userid, int goodsid, int goodsnum, String useraddress, String creattime ,String ordernum) {
		
		this.userid = userid;
		this.goodsid = goodsid;
		this.goodsnum = goodsnum;
		this.useraddress = useraddress;
		this.creattime = creattime;
		this.ordernum = ordernum;
	}
	public Orders(int userid, int goodsid, int goodsnum, String useraddress, String creattime, String ordernum,
			int orderstate) {
		
		this.userid = userid;
		this.goodsid = goodsid;
		this.goodsnum = goodsnum;
		this.useraddress = useraddress;
		this.creattime = creattime;
		this.ordernum = ordernum;
		this.orderstate = orderstate;
	}
	
	
	
	
}
